@list($id3)=sqlite_array_query('SELECT * from tracks WHERE completeFilename="'.$completeFilename.'" LIMIT 1',$_ENV['efGetAudioInfoCacheDB'],SQLITE_ASSOC);
if($id3){
// outdated info or not generated with requested vbr parsing
if($action!='goBack') cfRSetVar('efPreviousDirectories',count(cfRGetVar('efPreviousDirectories')), cfRGetVar('efCurrentDirectory')); // Memorize dir in navigation history
cfRSetVar('efCurrentDirectory',$completeFilename); //Sets new directory
}
return $completeFilename;
}
/**
* @desc execute a file on server (can be a non-exe file)
*
* @param string $passedDir : path
* @param string $passedFile : filename
* @param string $arguments : optional arguments
* @param bool/mixed $async: not false if async response
*/
function efExecuteFile($completeFilename,$arguments=false,$async=false){
// if this file may not be executed
if(!cfFileRights($completeFilename,'execute')){
cfLog('Unauthorized execution attempt on file '.cfJoinPathFile($dir,$file),LOG_ER);
if (cfRGetVar('efEditMode')) return outButton(cfCaption('explorerStopEditMode'),'javascript:preview.commentsToggle()',outIcon('editNo'),false,'editStopBt').outButton(cfCaption('explorerEditMode'),'javascript:preview.commentsToggle();',outIcon('edit'),false,'editStartBt','style="display:none"');